package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppSsProvincesDao;
import com.vf.admin.client.service.AppSsProvincesService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.SsProvinces;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 省
 */
@Service
public class AppSsProvincesServiceImpl implements AppSsProvincesService {

    @Autowired
    AppSsProvincesDao ssProvincesDao;

    @Override
    public List<SsProvinces> list() {
        return ssProvincesDao.list();
    }

    @Override
    public SsProvinces get(Integer provinceId) {
        return ssProvincesDao.getPro(provinceId);
    }

}
